/**
  * @file		labview.h
  * @author		Naresuan University: Advance Computer System, class of 2013
  * @version	V1.0.0
  * @date		18-September-2013
  * @brief		Header of LabVIEW program
  */
#ifndef __LABVIEW_H
#define __LABVIEW_H

#ifdef __cplusplus
 extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "serial.h"
	 
/* Public typedef ------------------------------------------------------------*/
/* Public define -------------------------------------------------------------*/
#define	COMMANDLENGTH		15
	 
/* Public macro --------------------------------------------------------------*/
/* Public variables ----------------------------------------------------------*/
/* Public function prototypes ------------------------------------------------*/
void syncLV(void);
int checkForCommand(void);
void processCommand(uint8_t command[]);

	 
#ifdef __cplusplus
}
#endif

#endif /* __LABVIEW_H */
